#include <iostream>
#include<cstdio>
using namespace std;
 
int main()
{
	char ch1;
	int ch2;
	ch1 = getchar();
	ch2 = getchar();
	cout << ch1 << ch2 << endl;
	cout << (char)ch2 << endl;
	return 0;
}
